package cn.tedu.csmall.product.mapper;

import cn.tedu.csmall.product.pojo.entity.Spu;
import cn.tedu.csmall.product.pojo.vo.SpuFullInfoVO;
import cn.tedu.csmall.product.pojo.vo.SpuListItemVO;
import cn.tedu.csmall.product.pojo.vo.SpuStandardVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【pms_spu(SPU（Standard Product Unit）)】的数据库操作Mapper
 * @createDate 2023-06-15 14:23:09
 * @Entity generator.domain.Spu
 */

@Repository
public interface SpuMapper extends BaseMapper<Spu> {

    SpuStandardVO getStandardById(Long id);

    SpuFullInfoVO getFullInfoById(Long id);

    List<SpuListItemVO> list();

}




